//
//  User.h
//  Trackit
//
//  Created by yaodaobin on 2017/4/2.
//  Copyright © 2017年 yaodaobin. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject

@property (nonatomic, copy) NSString *userID;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *realName;
@property (nonatomic, copy) NSString *department;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *userDescription;
@property (nonatomic, copy) NSString *userRoleName;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, assign) NSUInteger userRole;

//客户端添加 的 航线采集间隔 和航线采集容错距离
@property (nonatomic, copy) NSString *intervalValue;
@property (nonatomic, copy) NSString *distanceValue;
@property (nonatomic, strong) NSMutableDictionary <NSString *, NSMutableArray *>*localImageUrlPathDictionary;

- (instancetype)initWithData:(NSDictionary *)data;

- (void)cleanOldCache;

@end
